473,432 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,432 software developers and data experts.

Assembler vs Compiler vs Linker

Hi all,

I would like to know what is the difference between asembler ,
compiler , linker & loader. I am new to programming.
Sunil.

Nov 15 '05 #1
4 14123
Sunil wrote:
I would like to know what is the difference between asembler ,
compiler , linker & loader. I am new to programming.


Unfortunately, you seem also to be new to Usenet.
This newsgroup only deals with the C language, not with
implementations, programming tools etc.

If you have no clue at all, wikipedia.org may be a good first
address. The article about C is IMO not perfect but if you want
to know more about C, you can always ask here -- after reading
the FAQ.

Cheers
Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Nov 15 '05 #2
This newsgroup only deals with the C language

yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.

Nov 15 '05 #3
Sunil wrote:
This newsgroup only deals with the C language

yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.


1) Please do quote context in a way that it is clear you are quoting
2) Please do not snip attributions when quoting

Without context and attributions you make it harder for people
who have not (yet) received all previous messages to help you
as they do not know what you are referring to and how the
discussion developed.

3) You did not check wikipedia on compilers: C is not a compiler.
There are C compilers but an implementation could work without
compiling. (The difference between C being a compiler and there
being compilers compiling C is the same as between all water being
rivers and having rivers containing water.)

You did not read the FAQ or the Welcome Message (both can easily
be found using google), so your opinion is unnecessarily uninformed
and wrong.

-Michael
--
E-Mail: Mine is an /at/ gmx /dot/ de address.
Nov 15 '05 #4
Sunil wrote:
This newsgroup only deals with the C language
Please quote properly using quote markers and proper attribution as
shown in this article. The above line was not, I believe, written by you
however the way you have posted makes it look like it was. I believe
that if you press the options button above the message and then hit the
reply button that reveals, rather than the reply button shown by
default, Google will do most of the work for you so all you have to do
is snip text you are not replying to.
yes you are right.This news group deals with C Language. But i
think before
knowing what is there in C language knowing what is the purpose of it
is more important.

Since C is a compiler , i think i have posted question in the
correct group.


C is *not* a compiler, it is a *language*. Just as the English is not a
dictionary (or, for a closer comparison the part of your brain that
processes language), it is a language.

How compilers work is *not* on topic for this group, there is a group
dedicated to this complex topic called comp.compilers. If you want to
know how compilers work and what the division is between compilers and
assemblers that would be a place to start, not here. Obviously you
should read their FAQ first, and a few days worth of posts (I know you
did not do that here or you would have known how to reply properly).
There are also groups dedicated to specific implementations where you
will get help on how to use those implementations.

Also, you don't need to know the relationship between compilers,
assemblers and linkers to program in C, and indeed many modern
implementations don't actually produce and actual assembler code or use
an assembler. Some implementations don't use a separate linker either,
or the linking is done when you run the program rather than when you
build it.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Nov 15 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Jeremy Watts | last post by:
Hi, I'm completely new to C++ and wondered if anyone has a recommendation for a C++ compiler Thanks
28
by: Skybuck Flying | last post by:
Hi, I think I understand now a bit better what the difference is between a c compiler and a pascal compiler. For example: When compiling source code with a pascal compiler. The pascal...
2
by: Mary | last post by:
Hello, I am having a problem with the cl compiler. I have written a C class (RegConnect.c) which uses Win32 API functions such as RegOpenKey, RegCloseKey etc. Initially when I was trying to...
5
by: Ondrej Spanel | last post by:
I though that inline functions should be always visible only in the compilation unit where they are defined - meaning if compiler cannot inline them, they should be handled as if declared static....
3
by: fade | last post by:
Good afternoon Is there a way to tell the compiler and linker where to look for my header files and libraries directly on the code? (I'm not talking about changing project properties, linker,...
42
by: jacob navia | last post by:
http://slashdot.org/ "The leaner, lighter, faster, and most importantly, BSD Licensed, Compiler PCC has been imported into OpenBSD's CVS and NetBSD's pkgsrc. The compiler is based on the...
20
by: Nickolai Leschov | last post by:
Hello all, I am programming an embedded controller that has a 'C' library for using its system functions (I/O, timers, all the specific devices). The supplied library has .LIB and .H files. ...
8
by: Grizlyk | last post by:
To continue some ideas of "C++ Archeology: Limits of OO paradigm", i want to ask about C++ development. There are C++ compilers, that has been written in old good C. Are C or pascal perfect...
1
by: jason.cipriani | last post by:
Here is an example with 3 files, containing a template structure and also a template function. The header A.h declares a template structure A with a default (i.e. for any template parameter),...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.